package com.ifcar.app.api.dao;

import com.url.ajax.json.JSONObject;

/**
 * 业务层api接口
 * @author nxlixa
 *
 */
public interface AccountApi {
	
	/**
	 * 用户注册
	 * @param phone
	 * @param pwd
	 * @param email
	 * @return
	 */
	JSONObject register(String phone, String pwd, String email) throws Exception;
	
	/**
	 * 登录
	 * @param account
	 * @param pwd
	 * @return
	 * @throws Exception
	 */
	JSONObject login(String account, String pwd) throws Exception;
	
}
